home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 04 - 1988 / 04.10 Oct 88 / driver stuff / IAC.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-07-08  |  1.2 KB  |  31 lines  |  [TEXT/MPS ]

  1. /*    This is the set of externs needed to access the IAC interface routines */
  2. /*    The pointer/handle indicators are only reminders */
  3.  
  4. extern    short    iac_add_dependency();                /* *doc_ID, *slot_ID, *hat_check,
  5.                                                                                       *edition */
  6. extern    short    iac_available_dependency();    /* doc_id, hat_check */
  7. extern    short    iac_census();                                /* *extent_count, **extent_info */
  8. extern    short    iac_complete_dependency();    /* *doc_id, *slot_id, *hat_check */
  9. extern    short    iac_open();
  10. extern    short    iac_read_data();                        /* doc_id, slot_id, hat_check, *edition,
  11.                                                                                        fmt_pref[], *fmt_code, **ext_data */
  12. extern    short    iac_remove_dependency();        /* doc_id, slot_id, hat_check */
  13. extern    short    iac_status();                                /* slot_id, *vers_id, *doc_count,
  14.                                                                                       *extent_count */
  15. extern    short    iac_write_data();                        /* doc_id, hat_check, *edition,
  16.                                                                                       fmt_count, **ext_data */
  17.  
  18. /*    error codes for iac_open, etc. */
  19. # define NO_DRIVER -1
  20. # define EARLY_SYS -2
  21. # define MAX_EXTS    64
  22.  
  23. typedef struct {
  24.         long        doc_ID;
  25.         short        hat_check;
  26.         short        ed_level;
  27. }    info_rec;
  28.  
  29. typedef struct {
  30.         info_rec    ext_entry[MAX_EXTS];
  31. } info_tbl, *info_tblP, **info_tblH;